package com.wit.witmg.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author bob
 * @since 2024-12-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="THr对象", description="人力资源表")
public class THr implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private int id;

    @ApiModelProperty(value = "员工编号")
    private String pbn;

    @ApiModelProperty(value = "姓名")
    private String na;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "部门id")
    private Integer oid;

    @ApiModelProperty(value = "部门-岗位名称")
    private String belong;

    @ApiModelProperty(value = "职务级别")
    private String level;

    @ApiModelProperty(value = "手机号（用户账号）")
    private String phone;

    @ApiModelProperty(value = "权限（json字段）")
    private String power;

    @ApiModelProperty(value = "状态（1试用期、2正式期、3出差中、4请假中、5退休、6离职）")
    private Integer stat;

    private Date date;


}
